#include <OgreCamera.h>
#include <OgrePrerequisites.h>

#define DLL_EXPORT __declspec(dllexport)

using namespace Ogre;

extern "C" DLL_EXPORT void call_setAspectRatio(void *ptr, float ratio)
{
    ((Camera*)ptr)->setAspectRatio(ratio);
}

extern "C" DLL_EXPORT void call_setFarClipDistance(void *ptr, float farDist)
{
    ((Camera*)ptr)->setFarClipDistance(farDist);
}

extern "C" DLL_EXPORT void call_setNearClipDistance(void *ptr, float nearDist)
{
    ((Camera*)ptr)->setNearClipDistance(nearDist);
}

extern "C" DLL_EXPORT void call_setPosition(void *ptr, float x, float y, float z)
{
    ((Camera*)ptr)->setPosition(x,y,z);
}

extern "C" DLL_EXPORT void call_lookAt(void *ptr, float x, float y, float z)
{
    ((Camera*)ptr)->lookAt(x,y,z);
}
